package com.umgsai.wx.backend.dao.data;

import lombok.Data;

@Data
public class ColumnsDO {

    /**
     * table_catalog
     */
    private String tableCatalog;

    /**
     * table_schema 库名
     */
    private String tableSchema;

    /**
     * table_name  表明
     */
    private String tableName;

    /**
     * column_name  字段名
     */
    private String columnName;

    /**
     * ordinal_position  字段位置序号
     */
    private Long ordinalPosition;

    /**
     * column_default  字段默认值
     */
    private String columnDefault;

    /**
     * is_nullable  是否允许为空
     */
    private String isNullable;

    /**
     * data_type  字段数据类型
     */
    private String dataType;

    /**
     * character_maximum_length  字符最大长度
     */
    private Long characterMaximumLength;

    /**
     * character_octet_length
     */
    private Long characterOctetLength;

    /**
     * numeric_precision  数字精度
     */
    private Long numericPrecision;

    /**
     * numeric_scale
     */
    private Long numericScale;

    /**
     * datetime_precision 时间精度
     */
    private Long datetimePrecision;

    /**
     * character_set_name 字符集
     */
    private String characterSetName;

    /**
     * collation_name
     */
    private String collationName;

    /**
     * column_type
     */
    private String columnType;

    /**
     * column_key
     */
    private String columnKey;

    /**
     * extra
     */
    private String extra;

    /**
     * privileges
     */
    private String privileges;

    /**
     * column_comment  字段注释
     */
    private String columnComment;

    /**
     * is_generated
     */
    private String isGenerated;

    /**
     * generation_expression
     */
    private String generationExpression;
}
